
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{if isset($SEO['title']) && !empty($SEO['title'])}{$SEO['title']}{/if}{$SEO['site_title']}</title>
<meta name="keywords" content="{$SEO['keyword']}">
<meta name="description" content="{$SEO['description']}">
<link href="{THEME_STYLE_PATH}style/css/default_new.css" type="text/css" rel="stylesheet" />
<script src="{THEME_STYLE_PATH}style/js/jquery.min.js"></script>
<script src="{THEME_STYLE_PATH}style/js/core.js"></script>
<link href="{THEME_STYLE_PATH}style/css/percenter.css" type="text/css" rel="stylesheet" />
<link href="{THEME_STYLE_PATH}style/css/datepicker.css" rel="stylesheet">
<script src="{THEME_STYLE_PATH}style/js/bootstrap-datepicker.js"></script>
<!--[if IE 6]>
<script src="/js/DD_belatedPNG.js"></script>
<script>
  DD_belatedPNG.fix('*');
</script>
<![endif]-->
<!--[if IE 6]>
<style type="text/css">  
    html{overflow:hidden;}
    body{height:100%;overflow:auto;}
</style>
<![endif]-->

<style>
input[disabled],
select[disabled],
textarea[disabled],
input[readonly],
select[readonly],
textarea[readonly] {
  cursor: not-allowed;
  background-color: #eeeeee;
}

input[type="radio"][disabled],
input[type="checkbox"][disabled],
input[type="radio"][readonly],
input[type="checkbox"][readonly] {
  background-color: transparent;
}
</style>
</head>



<style>
.Navon {margin: 0 10px;position: relative;}
.Navun {margin: 0 10px;position: relative;}
#Nav .xinren {
	display: block;
	overflow: hidden;
	position: absolute;
	right: -10px;
	top: 8px;
}

#Nav .luntan,
#Nav .youxi,
#Nav .huiyuan {
	display: block;
	overflow: hidden;
	position: absolute;
	left: -10px;
	top: -15px;
}

#Nav .luntan {
	width: 54px;
	top: -15px;
	left: -5px;
}

</style>

<body>
		
	{include template('header','common')}
	<div id="Mainbox">
<!--插入侧边栏-->
		{include template('sidebar_login','common')}
		<!--插入侧边栏-->
		{include template('top_advance','common')}
		
		<!-- 左侧 -->
		{include template('member_left','common')}
		<!--右侧-->
		<div class="percenter_right">
			<div class="aboutper_acc">
				<p class="a1" style="margin-bottom:15px;">我的账户明细<span></span></p>
				<div class="">
					<div class="tyopt2">
					<a href="{U('Member/Score/account',array('type'=>'u_coin'))}" {if $type == 'u_coin'} class="on" {/if}>账户<?php echo type_change();?>币明细</a>
					<a href="{U('Member/Score/account',array('type'=>'u_bean'))}" {if $type == 'u_bean'} class="on" {/if}>账户<?php echo type_change();?>豆明细</a></div>
					<form id="jxy_form_search" method="get" action="">
					<input type="hidden" name="type" value="{$type}"></input>
					<input type="hidden" name="m" value="Member"></input>
					<input type="hidden" name="c" value="Score"></input>
					<input type="hidden" name="a" value="account"></input>
					<div class="acc_serach" style="float:right; margin:0 auto;"><strong>时间：</strong>
					 <?php echo $form::date('start_addtime',$beginThismonth); ?><?php echo L('to');?>   <?php echo $form::date('end_addtime',$endThismonth)?> 
<?php echo $form::select($trade_status,$status,'name="info[status]"', L('all_status'));?>
					<input type="submit"  name="sub"  vlaue="搜索"/>
					</div>
					</form>
					<div class="clear"></div>
				</div>
				<!--账户明细列表-->
				<table width="654" border="0" cellpadding="0" cellspacing="1" bgcolor="#dedede" class="acc_table">
				  <tbody>
				  <tr>
					<td bgcolor="#ffffff" class="title a1">发生时间</td>
					<td bgcolor="#ffffff" class="title a2">发生原因</td>
					<td bgcolor="#ffffff" class="title a3">{if $type == 'u_bean'}<?php echo type_change();?>豆变化{/if}{if $type == 'u_coin'}<?php echo type_change();?>币变化{/if}</td>
				  </tr>
				  {if $account}
				  		{loop $account $v}
				  		<tr>
						<td bgcolor="#ffffff" class="a1"><?php echo date("Y-m-d",$v['posttime']);?></td>
						<td bgcolor="#ffffff" class="a2">{$v[reason]}</td>
						<td bgcolor="#ffffff" class="a3"><span class="ofe"><strong>{if $v[c_type] == 1}+{else}-{/if}<?php echo number_format($v['change']);?>
						{if $type=='u_coin'}
						<img src="{THEME_STYLE_PATH}style/images/ub.gif"/>
						{elseif $type == 'u_bean'}
						<img src="{THEME_STYLE_PATH}style/images/ud.gif"/>
						{else}
						{/if}
						</strong></span></td>
					  </tr>
					  {/loop}
					  {else}
					  	<tr>
						<td colspan="3" bgcolor="#ffffff" class="a1">没有记录</td>
					  </tr>
					  {/if}
					</tbody></table>
				<!--账户明细列表-->
				<!--翻页模板-->
				<div class="pageup">
						{$pages}					
				</div>
				<!--翻页模板-->
			</div>
		</div>
		<!--右侧-->
		<div class="clear"></div>
	</div>
	<!--主体-->
	<!--尾部-->
		{include template('footer','common')}

	<!--尾部-->
</body>
</html>

